// /common/http.api.js
let userInfoUrl="/api/user/information";

let statisticsUrl="/api/index/statistics";

let getConfigUrl="/api/index/getConfig";


const install = (Vue, vm) => {
	let userInfo= (params = {}) => vm.$u.post(userInfoUrl, params);
	
	let statistics= (params = {}) => vm.$u.post(statisticsUrl, params);
	
	let  getConfig= (params = {}) => vm.$u.post(getConfigUrl, params);
	
	
	
	vm.$u.api = {userInfo,statistics,getConfig};

}

export default {
	install
}